window.addEventListener('mousemove', function (e) {
  let percentage = 100 - e.clientX / window.innerWidth * 100
  document.querySelector('.sun').style.clipPath = `inset(0 ${percentage}% 0 0)`
})